from PySide2.QtWidgets import QApplication, QMainWindow, QPushButton, QLabel

app = QApplication([])

window = QMainWindow()
window.resize(200, 100)
window.move(300, 310)
window.setWindowTitle('自动拾取')

text = QLabel('已启动',window)
text.move(80,10)
b = QPushButton('停止', window)
b.move(50,60)

window.show()

app.exec_()